<template>
  <view class="min-h-[100vh] bg-gradient-to-br from-[#667eea] via-[#764ba2] to-[#f093fb]">
    <web-view :src="url" class="w-full h-[100vh]" />
  </view>
</template>

<script setup>
import Taro from '@tarojs/taro'
import { onMounted, ref } from 'vue'

const url = ref('')

onMounted(() => {
  const str = Taro.getCurrentInstance().router.params.url
  url.value = decodeURIComponent(str)
  console.log(url.value)
})


</script>

<style>
web-view {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  background: transparent;
}
</style> 